Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2010 JBoss Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 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 org.drools.guvnor.client.rpc;

This is for more detailed reports to send back to the client. Typically there is a short message and longer message. The longer one is used by support. The shorter one displayed by default.
public class DetailedSerializationException extends SerializationException {
    private static final long serialVersionUID = 3971826310143149345L;
    private String longDescription;
    private BuilderResultLine[] errs;
    public DetailedSerializationException() {}
    public DetailedSerializationException(String shortDescriptionString longDescription) {
        this. = longDescription;
    public DetailedSerializationException(String shortDescriptionBuilderResultLine[] errs) {
        this. = errs;
    public String getLongDescription() {
        return this.;
    public BuilderResultLine[] getErrs(){
    	return ;
New to GrepCode? Check out our FAQ X