org.joda.beans.gen
Class BeanCodeGenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.joda.beans.gen.BeanCodeGenException
All Implemented Interfaces:
Serializable

public final class BeanCodeGenException
extends RuntimeException

Exception thrown by the code generator.

See Also:
Serialized Form

Constructor Summary
BeanCodeGenException(String message, File file, int line)
          Creates the exception.
BeanCodeGenException(String message, Throwable cause, File file)
          Creates the exception.
 
Method Summary
 File getFile()
          Gets the line number.
 int getLine()
          Gets the line number.
 
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

BeanCodeGenException

public BeanCodeGenException(String message,
                            File file,
                            int line)
Creates the exception.

Parameters:
message - the message
file - the file that caused the error
line - the line number

BeanCodeGenException

public BeanCodeGenException(String message,
                            Throwable cause,
                            File file)
Creates the exception.

Parameters:
message - the message
cause - the cause
file - the file that caused the error
Method Detail

getFile

public File getFile()
Gets the line number.

Returns:
the line number

getLine

public int getLine()
Gets the line number.

Returns:
the line number


Copyright © 2007–2015 Joda.org. All rights reserved.