it.jnrpe.net
Class BadCRCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.jnrpe.net.BadCRCException
All Implemented Interfaces:
Serializable

public class BadCRCException
extends Exception

This exception is thrown if the response CRC or the request CRC ccould not be verified.

Author:
Massimiliano Ziccardi
See Also:
Serialized Form

Constructor Summary
BadCRCException()
          Initialize the exception with an emtpy error message.
BadCRCException(String message)
          Initialize the exception with the given error message.
BadCRCException(String message, Throwable cause)
          Initialize the exception with the given error message and the give root cause.
BadCRCException(Throwable cause)
          Initialize the exception with the given root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadCRCException

public BadCRCException()
Initialize the exception with an emtpy error message.


BadCRCException

public BadCRCException(String message,
                       Throwable cause)
Initialize the exception with the given error message and the give root cause.

Parameters:
message - The error message
cause - The root exception

BadCRCException

public BadCRCException(String message)
Initialize the exception with the given error message.

Parameters:
message - The error message

BadCRCException

public BadCRCException(Throwable cause)
Initialize the exception with the given root cause.

Parameters:
cause - The root cause


Copyright © 2014. All Rights Reserved.