Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2011 Agrosense <info@cloudfarming.nl> Licensed under the Eclipse Public License - v 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.eclipse.org/legal/epl-v10.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package nl.cloudfarming.client.isobus.model;

Exception to be thrown when a fileLenght is different from the expected length

Author(s):
Merijn Zengers
public class FileLengthException extends Exception{
    
    public FileLengthException() {
	super();
    }

    
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable.initCause(java.lang.Throwable).

Parameters:
message the detail message. The detail message is saved for later retrieval by the java.lang.Throwable.getMessage() method.
    public FileLengthException(String message) {
	super(message);
    }

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

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message the detail message (which is saved for later retrieval by the java.lang.Throwable.getMessage() method).
cause the cause (which is saved for later retrieval by the java.lang.Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
1.4
    public FileLengthException(String messageThrowable cause) {
        super(messagecause);
    }
    
New to GrepCode? Check out our FAQ X