com.levigo.jadice.document
Class JadiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.levigo.util.log.qualified.AbstractQualifiedException
              extended by com.levigo.jadice.document.JadiceException
All Implemented Interfaces:
QualifiedMessage, UnresolvedQualifiedMessage, Serializable

public class JadiceException
extends AbstractQualifiedException

The class JadiceException is a form of Throwable that indicates conditions that a reasonable jadice using application or applets might want to catch.

See Also:
Serialized Form

Field Summary
static int TYPE_UNDEFINED
           
 
Constructor Summary
JadiceException()
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
JadiceException(int type)
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
JadiceException(int type, String s)
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
JadiceException(int type, String message, Throwable cause)
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
JadiceException(MessageID messageId, Object... args)
           
JadiceException(MessageID messageId, Throwable cause, Object... args)
           
JadiceException(String s)
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
JadiceException(String message, Throwable cause)
          Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.
 
Method Summary
 int getType()
          Deprecated. the exception type has been superseded by the use of AbstractQualifiedException. Use AbstractQualifiedException.getMessageID() instead.
 
Methods inherited from class com.levigo.util.log.qualified.AbstractQualifiedException
getArguments, getId, getMessage, getMessage, getMessageID
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_UNDEFINED

public static final int TYPE_UNDEFINED
See Also:
Constant Field Values
Constructor Detail

JadiceException

public JadiceException(MessageID messageId,
                       Object... args)

JadiceException

public JadiceException(MessageID messageId,
                       Throwable cause,
                       Object... args)

JadiceException

@Deprecated
public JadiceException(String s)
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructor

Parameters:
s - an exception describing message.

JadiceException

@Deprecated
public JadiceException(int type,
                                  String s)
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructor

Parameters:
type - specified type of this exception
s - an exception describing message.

JadiceException

@Deprecated
public JadiceException()
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructor


JadiceException

@Deprecated
public JadiceException(int type)
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructor

Parameters:
type - specified type of this exception

JadiceException

@Deprecated
public JadiceException(int type,
                                  String message,
                                  Throwable cause)
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructs a new exception with the specified detail message and cause.

Parameters:
type - specified type of this exception
message - the detail message
cause - a throwable caused the occurred problem

JadiceException

@Deprecated
public JadiceException(String message,
                                  Throwable cause)
Deprecated. JadiceException is now a qualified exception (see AbstractQualifiedException). Please consider instantiating it with a MessageID or using a different exception type.

Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message
cause - a throwable caused the occurred problem
Method Detail

getType

@Deprecated
public int getType()
Deprecated. the exception type has been superseded by the use of AbstractQualifiedException. Use AbstractQualifiedException.getMessageID() instead.

Returns the exception type. Will now always return -1.

Returns:
exception type, or TYPE_UNDEFINED if not set.


Copyright © 2017 levigo holding gmbh. All rights reserved.