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 sMsg)
          Initialize the exception with the given error message.
BadCRCException(String sMsg, Throwable thr)
          Initialize the exception with the given error message and the give root cause.
BadCRCException(Throwable thr)
          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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadCRCException

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


BadCRCException

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

Parameters:
sMsg - The error message
thr - The root exception

BadCRCException

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

Parameters:
sMsg - The error message

BadCRCException

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

Parameters:
thr - The root cause


Copyright © 2013. All Rights Reserved.