codesimian
Class Legal
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codesimian.Legal
- All Implemented Interfaces:
- java.io.Serializable
public class Legal
- extends java.lang.RuntimeException
Things relevant to licenses, contracts, laws, governments, or anything they indirectly control.
Theoretical example code:
throw new Legal("You distributed my binary without source-code,"
+" which violates GNU GPL 2+. Read the file doc/license.txt");
- See Also:
- Serialized Form
Constructor Summary |
Legal()
|
Legal(java.lang.String message)
|
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 |
licenseFileName
public static final java.lang.String licenseFileName
- See Also:
- Constant Field Values
Legal
public Legal()
Legal
public Legal(java.lang.String message)
getLicenseShortName
public static java.lang.String getLicenseShortName()
getLicenseLongName
public static java.lang.String getLicenseLongName()
getLicenseSummary
public static java.lang.String getLicenseSummary()
getLicense
public static java.lang.String getLicense()