cz.zcu.fav.kiv.jsim
Class JSimSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.zcu.fav.kiv.jsim.JSimException
cz.zcu.fav.kiv.jsim.JSimSecurityException
- All Implemented Interfaces:
- java.io.Serializable
public class JSimSecurityException
- extends JSimException
The JSimSecurityException is thrown whenever the user tries to execute an action that is forbidden in the current simulation context. You
should never need to create an instance of this class.
- Since:
- J-Sim version 0.0.2
- Version:
- J-Sim version 0.6.0
- Author:
- Jarda KAČER
- See Also:
- Serialized Form
Field Summary |
private static long |
serialVersionUID
Serialization identification. |
Constructor Summary |
JSimSecurityException(java.lang.String pars)
Creates a new JSimSecurityException with a specific information. |
JSimSecurityException(java.lang.String pars,
java.lang.Throwable cause)
Creates a new JSimSecurityException with a specific information and a specified cause. |
Method Summary |
void |
printComment(java.io.PrintStream ps)
Prints an explanation why this exception was thrown. |
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 |
serialVersionUID
private static final long serialVersionUID
- Serialization identification.
- See Also:
- Constant Field Values
JSimSecurityException
public JSimSecurityException(java.lang.String pars)
- Creates a new JSimSecurityException with a specific information.
- Parameters:
pars
- Holds detailed information about specific circumstances of this exception, for example a method's or a varibale's name.
JSimSecurityException
public JSimSecurityException(java.lang.String pars,
java.lang.Throwable cause)
- Creates a new JSimSecurityException with a specific information and a specified cause.
- Parameters:
pars
- Holds detailed information about specific circumstances of this exception, for example a method's or a varibale's name.cause
- The original exception that caused this exception to be thrown.
printComment
public void printComment(java.io.PrintStream ps)
- Description copied from class:
JSimException
- Prints an explanation why this exception was thrown. The explanation is printed out to a print stream.
- Overrides:
printComment
in class JSimException
- Parameters:
ps
- The print stream that the explanation is to be printed to.
Copyright © 2000-2006 University of West Bohemia. Licensed under the Academic Free License v. 2.1. Build date 20060812.