Skip to main content

Error

Generating general application errors and categorizing the severity of the error with the types:

  • trace
  • debug
  • info
  • warn
  • error
  • fatal

create


_error.create(message: string) : ErrorException

Description

Creates an error with an description message

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( ErrorException )


createError


_error.createError(message: string) : java.lang.Error

Description

Creates an error with an description message

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( java.lang.Error )


createException


_error.createException(message: string) : java.lang.Exception

Description

Creates a exception with an description message

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( java.lang.Exception )


createThrowable


_error.createThrowable(message: string) : java.lang.Throwable

Description

Creates a throwable with an description message

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( java.lang.Throwable )


data


_error.data() : Values

Description

Creates a new class Values that results from the error.

Return

( Values )


_error.data(retorno: Values) : Error

Description

Creates a new class Values that results from the error.

Attributes
NAMETYPEDESCRIPTION
retornoValuesValues.
Return

( Error )


debug


_error.debug(message: string) : void

Description

Return an exception and print a message with the description of the exception and it's object

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
Return

( void )


_error.debug(message: string, throwable: java.lang.Object) : void

Description

Print a message with the description of the debug and it's cause

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ObjectAlternative throwable to include in the debug message.
Return

( void )


_error.debug(message: string, cause: java.lang.Throwable) : void

Description

Print a message with the description of the debug

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
causejava.lang.ThrowableAlternative throwable to include in the debug message.
Return

( void )


error


_error.error(message: string) : void

Description

Print a message of error.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( void )


_error.error(message: string, throwable: java.lang.Object) : void

Description

Print a message with the description of the error and it's cause

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ObjectAlternative throwable to include in the error message.
Return

( void )


_error.error(message: string, throwable: java.lang.Throwable) : void

Description

Print a message with the description of the error and it's object

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ThrowableAlternative throwable to include in the error message.
Return

( void )


fatal


_error.fatal(message: string) : void

Description

Print a message of type FATAL in the log file and in the terminal of Netuno.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
Return

( void )


_error.fatal(message: string, throwable: java.lang.Object) : void

Description

Print a message of type FATAL in the log file and in the terminal of Netuno.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ObjectAlternative object to include in the log message.
Return

( void )


_error.fatal(message: string, throwable: java.lang.Throwable) : void

Description

Print a message of type FATAL in the log file and in the terminal of Netuno.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ThrowableAlternative throwable to include in the log message.
Return

( void )


info


_error.info(message: string) : void

Description

Print a message with the description of the debug and it's object

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
Return

( void )


_error.info(message: string, throwable: java.lang.Object) : void

Description

Print a message of information and a throable

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ObjectAlternative throwable to include in the information message.
Return

( void )


_error.info(message: string, cause: java.lang.Throwable) : void

Description

Print a message of information

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
causejava.lang.ThrowableAlternative throwable to include in the info message.
Return

( void )


is


_error.is(object: java.lang.Object) : boolean

Description

Checks if an object is from type Error, Exception or Throwable.

Attributes
NAMETYPEDESCRIPTION
objectjava.lang.ObjectObject that will be checked.
Return

( boolean )

Returns true if the object is of type Error, Exception or Throwable.


isError


_error.isError(object: java.lang.Object) : boolean

Description

Checks if an object is from type Error.

Attributes
NAMETYPEDESCRIPTION
objectjava.lang.ObjectObject that will be checked.
Return

( boolean )

Returns true if the object is of type Error.


isException


_error.isException(object: java.lang.Object) : boolean

Description

Checks if an object is from type Exception.

Attributes
NAMETYPEDESCRIPTION
objectjava.lang.ObjectObject that will be checked.
Return

( boolean )

Returns true if the object is of type Exception.


isThrowable


_error.isThrowable(object: java.lang.Object) : boolean

Description

Checks if an object is from type Throwable.

Attributes
NAMETYPEDESCRIPTION
objectjava.lang.ObjectObject that will be checked.
Return

( boolean )

Returns true if the object is of type Throwable.


raise


_error.raise(object: java.lang.Object) : void

Description

Throws an error according to the type of object passed (Error, Exception or Throwable).

Attributes
NAMETYPEDESCRIPTION
objectjava.lang.ObjectError object.
Return

( void )


trace


_error.trace(message: string) : void

Description

Returns an exception and a list of methods that caused them with an description mensagem.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( void )


_error.trace(message: string, object: java.lang.Object) : void

Description

Returns an object and a list of methods that caused them with an description mensagem.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
objectjava.lang.ObjectAlternative object to include in the error message.
Return

( void )


_error.trace(message: string, throwable: java.lang.Throwable) : void

Description

Returns an throwable and a list of methods that caused them with an description mensagem.

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ThrowableAlternative throwable to include in the log message.
Return

( void )


warn


_error.warn(message: string) : void

Description

Print a message of warning

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in the log.
Return

( void )


_error.warn(message: string, object: java.lang.Object) : void

Description

Print a message with the description of the warning and it's object

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
objectjava.lang.ObjectAlternative object to include in the warning message.
Return

( void )


_error.warn(message: string, throwable: java.lang.Throwable) : void

Description

Print a message with the description of the warning and it's throwable

Attributes
NAMETYPEDESCRIPTION
messagestringMessage that will be presented in log.
throwablejava.lang.ThrowableAlternative throwable to include in the warning message.
Return

( void )