net.sf.sasl.language.placeholder.syntax
Class ScanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.sasl.language.placeholder.syntax.ScanException
All Implemented Interfaces:
Serializable

public class ScanException
extends Exception

Exception class for all "errors" that can occur during code scanning.

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer
See Also:
Serialized Form

Constructor Summary
ScanException()
          Creates a default scan exception without specific details about the occurred error.
ScanException(String message)
          Creates a scan exception with the given error detail message.
ScanException(String message, Throwable throwable)
          Creates a parse exception with the given error detail message and given cause that caused the exception.
ScanException(Throwable throwable)
          Creates a scan exception that was caused because of the given 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

ScanException

public ScanException()
Creates a default scan exception without specific details about the occurred error.

Since:
0.0.1 (sasl-common-aspect-library)

ScanException

public ScanException(String message)
Creates a scan exception with the given error detail message.

Parameters:
message - null or non null
Since:
0.0.1 (sasl-common-aspect-library)

ScanException

public ScanException(Throwable throwable)
Creates a scan exception that was caused because of the given cause.

Parameters:
throwable - null or non null
Since:
0.0.1 (sasl-common-aspect-library)

ScanException

public ScanException(String message,
                     Throwable throwable)
Creates a parse exception with the given error detail message and given cause that caused the exception.

Parameters:
message - null or non null
throwable - null or non null
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.