Package org.onosproject.net.intent
Class IntentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.onosproject.net.intent.IntentException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IntentCompilationException
@Beta public class IntentException extends RuntimeException
Represents an intent related error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntentException()
Constructs an exception with no message and no underlying cause.IntentException(String message)
Constructs an exception with the specified message.IntentException(String message, Throwable cause)
Constructs an exception with the specified message and the underlying cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IntentException
public IntentException()
Constructs an exception with no message and no underlying cause.
-
IntentException
public IntentException(String message)
Constructs an exception with the specified message.- Parameters:
message
- the message describing the specific nature of the error
-
-